﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _2023_09_13
{
    internal class Class1
    {
        public static void ProcessInput(List<long> ints)
        {
            string line = Console.ReadLine();
            if (string.IsNullOrWhiteSpace(line))
                return;

            string[] numbers = line.Split(' ');
            long a = long.Parse(numbers[0]);
            long b = long.Parse(numbers[1]);

            ints.Add(a * b);
            ProcessInput(ints);
        }

        public static void Main()
        {
            List<long> ints = new List<long>();
            ProcessInput(ints);
            foreach (long a in ints)
            {
                Console.WriteLine(a);
            }
        }
    }
}

